import request from '@/utils/request'

export function getAllCommunity() {
  return request({
    url: '/api/addr/community_list',
    method: 'get'
  })
}

export function getHouse(data) {
  return request({
    url: '/api/addr/house_list',
    method: 'post',
    data: data
  })
}

export default {
  getAllCommunity,
  getHouse
}

